/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.exercises.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.exercises.entity.DriverExercises;
import com.jeeplus.modules.exercises.mapper.DriverExercisesMapper;

/**
 * 题库Service
 * @author 姜盼
 * @version 2021-11-02
 */
@Service
@Transactional(readOnly = true)
public class DriverExercisesService extends CrudService<DriverExercisesMapper, DriverExercises> {

	public DriverExercises get(String id) {
		return super.get(id);
	}
	
	public List<DriverExercises> findList(DriverExercises driverExercises) {
		return super.findList(driverExercises);
	}
	
	public Page<DriverExercises> findPage(Page<DriverExercises> page, DriverExercises driverExercises) {
		return super.findPage(page, driverExercises);
	}
	
	@Transactional(readOnly = false)
	public void save(DriverExercises driverExercises) {
		super.save(driverExercises);
	}
	
	@Transactional(readOnly = false)
	public void delete(DriverExercises driverExercises) {
		super.delete(driverExercises);
	}
	
}